package ai.people.netmon.warning.service;

import ai.people.netmon.framework.domain.warning.entity.WarningAccountLabelRelation;

import java.util.List;

/**
 * @author yuanqinglong
 * @date 2022/8/10 18:48
 */
public interface WarningAccountLabelService {


    /**
     * 添加批量帐户标签
     *
     * @param warningAccountLabels 账户警告标签
     */
    void addBatchAccountLabel(List<WarningAccountLabelRelation> warningAccountLabels);


    /**
     * 通过账户查询标签
     *
     * @param accountIds 帐户id
     * @return {@link List}<{@link WarningAccountLabelRelation}>
     */
    List<WarningAccountLabelRelation> queryLabelByAccount(List<Long> accountIds);
}
